<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xn="http://www.renren.com/2009/xnml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link href="{{ staticUrl }}/img/favicon.ico" rel="itgeeker favorite icon" type="image/x-icon" />
    <link href="{{ staticUrl }}/css/layout.css?ver={{ cssVersion }}" rel="stylesheet" type="text/css" media="all" />
    <title>ITGeeker——专业的IT技术交流站点！</title>
</head>
<body>
    {% include "../inc/admin_navbar.inc" %}
    <br />
    {% if errMsg %}
        <p class="err_msg">{{ errMsg }}</p>
    {% endif %}
    <br />
    <form method="post" action="/admin/editebookinfo">
        {% if ebookInfo.ebid %}
            <input name="ebid" type="hidden" value="{{ ebookInfo.ebid }}"/><br />
        {% endif %}
        <label for="source">网上书店来源：<label/> <input style="width:500px;" id="source" name="source" type="text" value="{{ ebookInfo.source }}"/><br /><br />
        <label for="title">电子书标题：<label/> <input style="width:500px;" id="title" name="title" type="text" value="{{ ebookInfo.title }}"/><br /><br />
        <label for="author">电子书作者：<label/> <input style="width:500px;" id="author" name="author" type="text" value="{{ ebookInfo.author }}"/><br /><br />
        <label for="descr">电子书简介：<label/> <input style="width:500px;" id="descr" name="descr" type="text" value="{{ ebookInfo.descr }}"/><br /><br />
        <label for="imgsrc">电子书图片地址：<label/> <input style="width:500px;" id="imgsrc" name="imgsrc" type="text" value="{{ ebookInfo.imgsrc }}"/><br /><br />
        <label for="link">电子书链接：<label/> <input style="width:500px;" id="link" name="link" type="text" value="{{ ebookInfo.link }}"/><br /><br />
        <input type="submit" value="保存" />
    </form>
</body>
</html>
